<?php

namespace App\Http\Controllers\Admin;
use App\Http\Requests\Admin\AuthRequest as Request;
use App\Http\Controllers\Controller;

class AuthController extends Controller
{
    //
    public function getLogin(Request $req)
    {
        return $req->login();
    }
    //
    public function postLogin(Request $req){
        return $req->check_login();
    }
    //
    public function getLogout(Request $req)
    {
        return $req->logout();
    }
}
